package org.buptsse.entity;

import java.io.Serializable;

public class Post implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int PostId;
	private int UserId;//存储发微博人的id或者发起转发的人的id
	private String postContent;
	private String username;
	private int MessageType;
	private String userimage;
	private String image;
	private int hostId;
	private int OriginalPostId;
	private String OriginalPostContent;
	private String OriginalUsername;
	private int CircleId;
	private String originalLink;
	private boolean originalDisplay;//判断是否是图片，是则下载图片，否则显示链接
	private String link;
	private boolean display;//判断是否是图片，是则download，否则只是显示一个链接
	private int repostAmount;
	private int CommentsAmount;
	private String PostTime;
	private String originalImage;
	public String getOriginalImage() {
		return originalImage;
	}
	public void setOriginalImage(String originalImage) {
		this.originalImage = originalImage;
	}
	private double Longitude;
	private double Latitude;
	private String CircleName;
	private double Distance;
	public int getPostId() {
		return PostId;
	}
	public void setPostId(int postId) {
		PostId = postId;
	}
	public int getUserId() {
		return UserId;
	}
	public void setUserId(int userId) {
		UserId = userId;
	}
	public String getPostContent() {
		return postContent;
	}
	public void setPostContent(String postContent) {
		this.postContent = postContent;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public int getMessageType() {
		return MessageType;
	}
	public void setMessageType(int messageType) {
		MessageType = messageType;
	}
	public String getUserimage() {
		return userimage;
	}
	public void setUserimage(String userimage) {
		this.userimage = userimage;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public int getHostId() {
		return hostId;
	}
	public void setHostId(int hostId) {
		this.hostId = hostId;
	}
	public int getOriginalPostId() {
		return OriginalPostId;
	}
	public void setOriginalPostId(int originalPostId) {
		OriginalPostId = originalPostId;
	}
	public String getOriginalPostContent() {
		return OriginalPostContent;
	}
	public void setOriginalPostContent(String originalPostContent) {
		OriginalPostContent = originalPostContent;
	}
	public String getOriginalUsername() {
		return OriginalUsername;
	}
	public void setOriginalUsername(String originalUsername) {
		OriginalUsername = originalUsername;
	}
	public int getCircleId() {
		return CircleId;
	}
	public void setCircleId(int circleId) {
		CircleId = circleId;
	}
	public String getOriginalLink() {
		return originalLink;
	}
	public void setOriginalLink(String originalLink) {
		this.originalLink = originalLink;
	}
	public boolean isOriginalDisplay() {
		return originalDisplay;
	}
	public void setOriginalDisplay(boolean originalDisplay) {
		this.originalDisplay = originalDisplay;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public boolean isDisplay() {
		return display;
	}
	public void setDisplay(boolean display) {
		this.display = display;
	}
	public int getRepostAmount() {
		return repostAmount;
	}
	public void setRepostAmount(int repostAmount) {
		this.repostAmount = repostAmount;
	}
	public int getCommentsAmount() {
		return CommentsAmount;
	}
	public void setCommentsAmount(int commentsAmount) {
		CommentsAmount = commentsAmount;
	}
	public String getPostTime() {
		return PostTime;
	}
	public void setPostTime(String postTime) {
		PostTime = postTime;
	}
	public double getLongitude() {
		return Longitude;
	}
	public void setLongitude(double longitude) {
		Longitude = longitude;
	}
	public double getLatitude() {
		return Latitude;
	}
	public void setLatitude(double latitude) {
		Latitude = latitude;
	}
	public String getCircleName() {
		return CircleName;
	}
	public void setCircleName(String circleName) {
		CircleName = circleName;
	}
	public double getDistance() {
		return Distance;
	}
	public void setDistance(double distance) {
		Distance = distance;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public Post(int postId, int userId, String postContent, String username,
			int messageType, String userimage, String image, int hostId,
			int originalPostId, String originalPostContent,
			String originalUsername, int circleId, String originalLink,
			boolean originalDisplay, String link, boolean display,
			int repostAmount, int commentsAmount, String postTime,
			double longitude, double latitude, String circleName,
			double distance) {
		super();
		PostId = postId;
		UserId = userId;
		this.postContent = postContent;
		this.username = username;
		MessageType = messageType;
		this.userimage = userimage;
		this.image = image;
		this.hostId = hostId;
		OriginalPostId = originalPostId;
		OriginalPostContent = originalPostContent;
		OriginalUsername = originalUsername;
		CircleId = circleId;
		this.originalLink = originalLink;
		this.originalDisplay = originalDisplay;
		this.link = link;
		this.display = display;
		this.repostAmount = repostAmount;
		CommentsAmount = commentsAmount;
		PostTime = postTime;
		Longitude = longitude;
		Latitude = latitude;
		CircleName = circleName;
		Distance = distance;
	}
	public Post() {
		super();
	}	
	
	

}
